/*
 * @Author: venom
 * @Date: 2021-03-02 13:52:16
 * @LastEditors: venom
 * @LastEditTime: 2021-03-05 17:06:25
 * @Description: 
 * @FilePath: \venom-nacos-sdk\src\lib.rs
 * MIT
 */

/*!
Client for Nacos, written based on the Open API.

NacoscClient provides Config,Service discovery and namespace manage.


# Quick Start

To get you started quickly, the easiest and highest-level way to get
a Config is to use `get_config`;

```rust
use venom_nacos_sdk::blocking::NacosClient;

static host: &'static str = "http://127.0.0.1:8848";
static data_id:&'static str = "node_gateway";
static group:&'static str = "dev";
static tenant:&'static str = "venom_server";
static content:&'static str = "{\"worker_num\":32,\"server_port\":8080}";
static ctype:&'static str = "json";

fn get_config() {
   let config=NacosClient::new(host.to_string()).get_config(data_id.to_string(), group.to_string(), tenant.to_string());
   match config {
       Ok(t)=> println!("Ok:{}", t),
       Err(e)=> println!("Err:{}", e)
   }
  
}
```

*/



pub mod params;
pub mod exec;

